Strict
Import MaxGui.Drivers
Import sidesign.minib3d
'Import "Includes/CEditor.bmx"
Include "Includes/Globals.bmx"

SetGraphicsDriver GLGraphicsDriver(),GRAPHICS_BACKBUFFER|GRAPHICS_DEPTHBUFFER
MainEditor = New CEditor
MainEditor.Init()

While True

	MainEditor.OnEvent()

Wend
End
